package com.lyf.shop.controller;

import com.lyf.shop.entity.Product;
import com.lyf.shop.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;
import java.io.*;
import java.util.List;
import java.util.UUID;

@Controller
@RequestMapping("product")
public class FileController {
    @Autowired
    private ProductService productService;
    @RequestMapping("index")
    public String index() {
        System.out.println("我进到index了");
        return "index";
    }
}
